<template>
	<view class="contact">
		<image class="img" src="http://www.itcast.cn/2018czydz/images/gywmban.jpg"></image>
		<view class="info">
			<view @click="phone">
				联系电话：18374822974(点击拨打)
			</view>
			<view>
				联系地址：广东省深圳市宝安区光明新区公明街道上村社区11111111111红花山
			</view>
			<map class="map" :longitude="longitude" :latitude="latitude" scale="13" :markers="markers"></map>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:113.905676,
				latitude:22.784335,
				markers:[
					{
						longitude:113.905676,
						latitude:22.784335,
						iconPath:'../../static/hmlogo.png',
						width:30,
						height:30
					}
				]
			}
		},
		methods: {
			phone() {
				uni.makePhoneCall({
					phoneNumber:18374822974
				})
			}
		}
	}
</script>

<style lang="scss">
	.contact{
		.img{
			width: 750rpx;
			height: 350rpx;
		}
		.info{
			padding: 10rpx 20rpx;
			font-size: 30rpx;
			view{
				line-height: 60rpx;
				border-bottom: 1px solid #eee;
			}
		}
		.map{
			width: 750rpx;
			height: 750rpx;
		}
	}
</style>
